package com.allen.study.application.repository;

import com.allen.study.application.api.request.DepartmentQueryRequest;
import com.allen.study.application.api.response.DepartmentQueryResponse;
import com.allen.study.common.base.Pagination;

import java.util.List;

/**
 * 部门信息表读模型资源库
 *
 * @author AllenSun
 * @since 2025-04-23 20:46
 */
public interface IDepartmentReadModelRepo {

    /**
     * 查询部门信息表列表
     *
     * @param pagination   分页
     * @param queryRequest 部门信息表查询请求对象
     * @return 部门信息表响应数据传输对象列表
     */
    List<DepartmentQueryResponse> query(Pagination pagination, DepartmentQueryRequest queryRequest);
}